package com.xunfang.mapper;

import com.xunfang.bean.Building;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author yellow Doctor
 * @date 2025-09-12
 * @desc https://blog.csdn.net/hekai7217
 */
public interface BuildingMapper {

    List<Building> selectAllBuilding();

    int addBuild(Building building);

    int deleteBuild(int id);

    //参数问题
    int batchBuild(@Param("ids") List<Integer> ids);

    int updateBuild(Building building);

}
